package com.example.novelsys.service;


import com.example.novelsys.dao.ReadLogDao;
import com.example.novelsys.entity.Readlog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReadLogService {
    @Autowired
	ReadLogDao readLogDao;
	
	//根据用户id查询阅读的小说记录
	  public List<Readlog> queryByID(Long userId){
	  	   return readLogDao.queryByID(userId);
	    }
	  

}
